Setting: .
For a time series setting, for example, we may take as the index, and be the population at a certain time.
For a linear model, we assume where is the intercept, is the slope, is the error term, and assume .
The parameters here are . ( measures the noise scale). We want to do estimation and uncertainty quantification.
2 Frequentist Inference
The frequentist approach is the MLE . The basic process is
Calculate MLE, and get estimated parameters
Determine the distribution of the MLE
Confidence intervals
Step 1: The likelihood for a single observation is (From the model ) so the general likelihood is
If minimize , then by taking derivative we have
Then MLE for .
Step 2: for , taking all as deterministic, since , we have
Help
Note that Again because .
Step 3: are unbiased, but is biased: . Based on this, .
Now we have , and , so 95% interval is
3 Bayesian Inference
Bayesian involves posterior density
The additional information we need to provide is the prior. We can assume
By transformation formula, . So the prior density is
So
If we want to get posterior for , we integrate over :
When is large, goes to . Use change of variable then the integral is and
Since in practical problems are extremely large, to handle numerical issue, we rewrite as
The density will be concentrated around values s.t. is close to .